package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 生产工单表(ProductionWorkOrder)实体类
 *
 * @author makejava
 * @since 2023-09-22 21:11:34
 */
public class ProductionWorkOrder implements Serializable {
    private static final long serialVersionUID = -90813298690908082L;
    /**
     * 工单编号
     */
    private String workOrderNumber;
    /**
     * 产品编号
     */
    private String productNumber;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 规格
     */
    private String standard;
    /**
     * 尺寸
     */
    private String size;
    /**
     * 材质
     */
    private String materialQuality;
    /**
     * 料号
     */
    private String itemNumber;
    /**
     * 计划数
     */
    private Integer plannedQuantity;
    /**
     * 已排产数
     */
    private Integer numberOfScheduledProduction;
    /**
     * 已生产数
     */
    private Integer producedQuantity;
    /**
     * 状态
     */
    private String status;
    /**
     * 进度
     */
    private String speed;
    /**
     * 计划开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date plannedStartDate;
    /**
     * 计划完成日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date plannedCompletionDate;
    /**
     * 来源类型
     */
    private String sourceType;
    /**
     * 订单编号
     */
    private String orderNumber;
    /**
     * 客户编号
     */
    private String clientNumber;
    /**
     * 客户名称
     */
    private String clientName;
    /**
     * 制单人
     */
    private String createBy;
    /**
     * 确定时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fixHour;


    public String getWorkOrderNumber() {
        return workOrderNumber;
    }

    public void setWorkOrderNumber(String workOrderNumber) {
        this.workOrderNumber = workOrderNumber;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getMaterialQuality() {
        return materialQuality;
    }

    public void setMaterialQuality(String materialQuality) {
        this.materialQuality = materialQuality;
    }

    public String getItemNumber() {
        return itemNumber;
    }

    public void setItemNumber(String itemNumber) {
        this.itemNumber = itemNumber;
    }

    public Integer getPlannedQuantity() {
        return plannedQuantity;
    }

    public void setPlannedQuantity(Integer plannedQuantity) {
        this.plannedQuantity = plannedQuantity;
    }

    public Integer getNumberOfScheduledProduction() {
        return numberOfScheduledProduction;
    }

    public void setNumberOfScheduledProduction(Integer numberOfScheduledProduction) {
        this.numberOfScheduledProduction = numberOfScheduledProduction;
    }

    public Integer getProducedQuantity() {
        return producedQuantity;
    }

    public void setProducedQuantity(Integer producedQuantity) {
        this.producedQuantity = producedQuantity;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public Date getPlannedStartDate() {
        return plannedStartDate;
    }

    public void setPlannedStartDate(Date plannedStartDate) {
        this.plannedStartDate = plannedStartDate;
    }

    public Date getPlannedCompletionDate() {
        return plannedCompletionDate;
    }

    public void setPlannedCompletionDate(Date plannedCompletionDate) {
        this.plannedCompletionDate = plannedCompletionDate;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getClientNumber() {
        return clientNumber;
    }

    public void setClientNumber(String clientNumber) {
        this.clientNumber = clientNumber;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getFixHour() {
        return fixHour;
    }

    public void setFixHour(Date fixHour) {
        this.fixHour = fixHour;
    }

}

